* {
  padding: 0;
  margin: 0;
}

html {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#player {
  width: 100vw;
  height: 100vh;
}

.btn-list {
  position: fixed;
  top: 60px;
  right: 85px;
  display: flex;
}

.btn-list .btn {
  padding: 10px 15px;
  background: #00000099;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0px 10px;
}

.test {
  color: #ff4040 #ff9900 #5ce625 #1ccaff;
}

.btn-list .btn:hover {
  background: #000000aa;
}

.control {
  position: fixed;
  right: 90px;
  top: 110px;
  background: #00000099;
  width: 350px;
  z-index: 10;
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
}

.control .btn-tab {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 10px;
  .btn-item {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)), linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    &.active {
      background: linear-gradient(to right, #00c1eb 5.31%, #1258c2 95.6%);
    }
  }
}
.control .params {
  width: fit-content;
  padding: 10px 20px;
}

.control .params .item {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.control .params .item .label {
  width: 100px;
}
.control .params .item .content {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.control .params .item .content .before {
  color: #fff;
  background: #00c1eb55;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.control .params .item .content span {
  color: #89898b;
  font-size: 12px;
}

.button-box {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  .btn {
    background: linear-gradient(95.99deg, #00c1eb 0%, #1258c2 100%);
    padding: 8px 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    margin: 0 5px;

    &.stop {
      background: #ffffff44 !important;
    }
  }
}

.measurement {
  position: fixed;
  right: 90px;
  top: 50px;
  width: 140px;
  border-radius: 10px;
  background: #00000099;
  padding: 10px 5px;
  color: #fff;
  .measurement-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    background: linear-gradient(90deg, rgba(4, 8, 16, 0.12) 0%, rgba(4, 8, 16, 0.6) 50.11%, rgba(4, 8, 16, 0.12) 100%), linear-gradient(90deg, rgba(18, 88, 194, 0) 0%, rgba(18, 88, 194, 0.432) 48.96%, rgba(18, 88, 194, 0) 100%);

    border: 1px solid #ffffff33;
    cursor: pointer;

    img {
      width: 25px;
      height: 25px;
    }

    &:hover {
      border: 1px solid #00c1eb;
      background: linear-gradient(0deg, #00c1eb22, #00c1eb22), linear-gradient(90deg, rgba(4, 8, 16, 0.6) 0%, rgba(4, 8, 16, 0.12) 100%), linear-gradient(90deg, rgba(18, 88, 194, 0.4) 0%, rgba(0, 193, 235, 0) 100%);
    }

    &.measurement-item-active {
      border: 1px solid #00c1eb;
      background: linear-gradient(0deg, #00c1eb22, #00c1eb22), linear-gradient(90deg, rgba(4, 8, 16, 0.6) 0%, rgba(4, 8, 16, 0.12) 100%), linear-gradient(90deg, rgba(18, 88, 194, 0.4) 0%, rgba(0, 193, 235, 0) 100%);
    }
  }
}

.measuring-result {
  position: fixed;
  right: 260px;
  top: 50px;
  width: 290px;
  border-radius: 10px;
  background: #00000099;
  padding: 10px;
  font-family: OPPOSans;
  color: #fff;
  .tip {
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
  }

  .category-list {
    margin-top: 10px 0;
    max-height: 300px;
    overflow: auto;
    .item-zb {
      display: flex;
      align-items: center;
      font-size: 14px;
      margin-bottom: 5px;
      border-radius: 5px;
      height: 80px;
      overflow: hidden;
      .label {
        padding: 8px 10px;
        width: 100px;
        background: linear-gradient(0deg, rgba(4, 8, 16, 0.12), rgba(4, 8, 16, 0.12));
        color: #ffffffaa;
      }
      .value {
        width: 350px;
        padding: 8px 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.12);
        .value-xyz {
          display: flex;
          align-items: flex-start;
          justify-content: flex-start;
          width: 100%;
          margin-bottom: 8px;
          .value-label {
            text-align: center;
            width: 20px;
            background: linear-gradient(0deg, rgba(4, 8, 16, 0.12), rgba(4, 8, 16, 0.12));
            color: #ffffffaa;
          }
        }
      }
    }
    .item {
      display: flex;
      align-items: center;
      font-size: 14px;
      margin-bottom: 5px;
      border-radius: 5px;
      overflow: hidden;
      .label {
        width: 120px;
        padding: 8px 5px;
        background: linear-gradient(0deg, rgba(4, 8, 16, 0.12), rgba(4, 8, 16, 0.12));
        color: #ffffffaa;
      }
      .value {
        padding: 8px 15px;
        flex: 1;
        background: rgba(255, 255, 255, 0.12);
      }
    }
  }

  .category-btn {
    display: flex;
    align-items: center;
    justify-content: space-around;
    .btn-item {
      width: 100px;
      background: linear-gradient(0deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)), linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12));
      padding: 5px 5px;
      font-size: 14px;
      cursor: pointer;
      text-align: center;
      border-radius: 5px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      &.active {
        background: linear-gradient(to right, #00c1eb 5.31%, #1258c2 95.6%);
        border: none;
      }
    }
  }
}
